/* =========================================================
   RESET
========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: "IRANYEKANX", sans-serif;
    line-height: 1.5;
    direction: rtl;
    background:
        linear-gradient(
            135deg,
            #f0f1f2 0%,
            #d5d7d9 48%,
            #aeb2b6 100%
        );
    background-attachment: fixed;
    color: #2d2d2d;
}

img {
    max-width: 100%;
    display: block;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}


/* =========================================================
   FONTS
========================================================= */

@font-face {
    font-family: "IRANYEKANX";
    src: url("../fonts/IRANYekanXVF.ttf");
}

@font-face {
    font-family: "GULZAR";
    src: url("../fonts/Gulzar-Regular.ttf");
}

@font-face {
    font-family: "IranYekans_light";
    src: url("../fonts/IRANYekanX-Light.ttf");
}

@font-face {
    font-family: "IranYekans_reguler";
    src: url("../fonts/IRANYekanX-Regular.ttf");
}

@font-face {
    font-family: "IranYekans_bold";
    src: url("../fonts/IRANYekanX-Bold.ttf");
}


/* =========================================================
   CONTAINER
========================================================= */

.container {
    width: 100%;
    padding-right: 16px;
    padding-left: 16px;
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

@media (min-width: 1400px) {
    .container {
        max-width: 1480px;
    }
}


/* =========================================================
   HEADER
========================================================= */

.header-main {
    border-bottom: 2px solid #000;
    color: #6c6c6c;
    font-family: "IranYekans_light";
}

.header-main-parent {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    padding: 16px 0;
}

.header-main-parent .Phonenumber{
    display: flex;
    gap: 10px;
    font-size: 14px;
    align-items: center;
    
}


.header-main-parent .clock-time{
    display: flex;
    gap: 10px;
    font-size: 14px;
    align-items: center;
}



.header-main-parent .wi-fi{
    display: flex;
    gap: 10px;
    font-size: 14px;
    align-items: center;
}

.header-main-parent h1 {
    margin: 0;
    font-size: 14px;
    font-weight: 400;
}



/* =========================================================
   BRAND / SEARCH
========================================================= */

.serach-box-parent {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 20px;
    font-family: "IranYekans_light";
}

.cafe-logo {
    padding: 20px 0;
}

.cafe-logo-img {
    max-width: 210px;
    max-height: 210px;
}

.logo-title-h1 {
    margin: 0;
    font-family: "GULZAR";
    font-size: 40px;
    font-weight: bold;
}

.input-shoppingbag-parent {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    width: 100%;
}

.serch {
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;

}

.search-input {
    width: 450px;
    color: #000;
    font-family: "IranYekans_light";
    border: 2px solid #8d8989;
    padding: 18px 20px;
    border-radius: 10px;
    outline: none;
}

.search-input:focus {
    border-color: #2d2d2d;
}

.search-input::placeholder {
    color: #000;
    font-family: "IranYekans_light";
}


/* =========================================================
   SHOPPING BAG TOP
========================================================= */

.shoppingbag {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-width: 230px;
    text-align: right;
    font-family: "IranYekans_light";
    padding: 14px 24px;
    border-radius: 100px;
    border: 2px dashed #171717;
    background: transparent;
    color: #171717;
    cursor: pointer;
    user-select: none;
}

.shoppingbag-responsive {
    display: none;
}

.shoppingbag.normal {
    display: none;
}

.shoppingbag.active {
    background: #2d2d2d;
    color: #ffffff;
}

.shoppingbag-first-p,
.shoppingbag-second-p {
    margin: 0;
}

.shoppingbag-first-p {
    font-weight: bold;
    font-size: 15px;
}

.shoppingbag-second-p {
    font-size: 16px;
    line-height: 1.35;
}

.shoppingbag-active-sircle-img {
    display: none;
}

.shoppingbag-active-sircle-img-counter {
    position: absolute;
    color: #2d2d2d;
    font-family: "IRANYEKANX", sans-serif;
    font-size: 20px;
    font-weight: bold;
    top: -18px;
    left: 17px;
}


/* =========================================================
   PRODUCTS
========================================================= */

.sec-product {
    padding-top: 100px;
}

.product_parent {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    gap: 40px;
}

.product {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 24px;
    flex: 1;
    min-width: 0;
}


/* =========================================================
   CATEGORY
========================================================= */

.product-category {
    width: 100%;
    scroll-margin-top: 30px;
}

.Name_of_products,
.Name_of_products_hot_drink,
.Name_of_products_milkshake {
    display: flex;
    align-items: center;
    /* justify-content: flex-end; */
   padding-left: 100px;
    gap: 30px;
}

.Name_of_products_hot_drink,
.Name_of_products_milkshake {
    padding-top: 40px;
    margin-right: 0;
}

.Editing-name_of-products,
.Editing_name_of_product_hot_drink,
.Editing_name_of_product_milkshake {
    padding-top: 5px;
}

.sp_name_of_products,
.sp_name_of_product_hot_drink,
.sp_name_of_product_milkshake {
    font-size: 28px;
    font-family: "IranYekans_light";
}

.Edit_croissant {
    margin-right: -31px;
}

.Edit_line,
.Edit_line_cup_togo {
    padding-top: 8px;
}

.Edit_img_cup_togo {
    width: 38px;
}


/* =========================================================
   PRODUCT LAYOUT
========================================================= */

.style_pro1,
.style_pro2,
.style_pro3 {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    width: 100%;
}

.style_pro2,
.style_pro3 {
    padding-top: 20px;
}


/* =========================================================
   PRODUCT CARD
========================================================= */

.benefits_product {
    padding-left: 15px;
    border: 1px solid #fff;
    text-align: right;
    min-height: 185px;
    display: flex;
    justify-content: flex-end;
    border-radius: 10px;
    background-color: #fff;
    box-shadow:
        0 5px 8px rgba(0, 0, 0, 0.2),
        0 6px 20px rgba(0, 0, 0, 0.19);
    overflow: hidden;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.benefits_product:hover {
    transform: translateY(-3px);
    box-shadow:
        0 8px 12px rgba(0, 0, 0, 0.18),
        0 10px 24px rgba(0, 0, 0, 0.14);
}

.explane_pro {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.product_process {
     display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 24px; 
    padding-right: 28px;
}

.Cs_sp_name {
    text-align: right;
}

.span_name_Cake {
    display: flex;
    text-align: right;
    align-items: end;
    font-size: 24px;
    font-family: "IranYekans_light";
}

.Cs_explnaion {
    text-align: right;
}

.sp_explnaion_Cake {
    font-size: 16px;
    font-family: "IranYekans_reguler";
    display: flex;
    text-align: right;
    align-items: flex-end;
}

.price_shoping_bag {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 11px;
    margin-top: auto;
    padding: 25px 20px 20px 0;
    flex-direction: row-reverse;
}

.spans_price_shoping_bag {
    display: flex;
    gap: 5px;
    font-family: "IranYekans_bold";
    font-size: 20px;
    font-weight: bold;
    white-space: nowrap;

}

.sp2_price_shop {
    padding-right: 10px;
}

.sp_shoping-bag {
    display: inline-block;
    padding: 8px 12px;
    font-size: 16px;
    font-family: "IranYekans_reguler";
    border: 0;
    background: transparent;
    color: #2d2d2d;
    align-items: center;
}

.sp_shoping-bag:hover {
    text-decoration: underline;
}

.sp_shoping-bag:disabled {
    color: #999;
    cursor: not-allowed;
    text-decoration: none;
}

.picture_edit {
    width: 145px;
    height: 145px;
    object-fit: contain;
    margin: 16px 19px 16px 0;
}


/* =========================================================
   NAVIGATION
========================================================= */

.navigation-bar {
    display: flex;
    flex-direction: column;
    gap: 5px;
    position: sticky;
    top: 20px;
    align-self: flex-start;
}

.item-Description {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    border-radius: 100px;
    gap: 5px;
    font-family: "IranYekans_light";
    padding: 15px 20px 15px 40px;
    cursor: pointer;
    border: 1px solid #848484;
    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}

.item-Description:hover {
    background-color: #f1f1f1;
}

.item-Description.active {
    background-color: #2d2d2d;
    color: #fff;
}

.item-p {
    margin: 0;
}

.item-vector,
.item-vector2 {
    width: 30px;
    height: 30px;
    object-fit: contain;
}


/* =========================================================
   EMPTY PRODUCTS
========================================================= */

.empty-products,
.empty-cart {
    width: 100%;
    text-align: center;
    padding: 40px 20px;
    font-family: "IranYekans_reguler";
    color: #777;
}

.catalog-load-error {
    display: grid;
    gap: 8px;
    border: 1px solid #d3b08a;
    border-radius: 16px;
    background: rgb(255 255 255 / 55%);
}

.catalog-load-error strong {
    color: #2d2d2d;
    font-family: "IranYekans_bold";
}

.catalog-load-error span {
    font-size: 13px;
}



/* =========================================================
   FOOTER
========================================================= */

.footer {
    padding-top: 50px;
    background:
        linear-gradient(
            135deg,
            #f0f1f2 0%,
            #d5d7d9 48%,
            #aeb2b6 100%
        );
}

.footer-parent {
    display: flex;
    align-items: center;
    justify-content: space-around;
    font-family: "IRANYEKANX";
}

.contact-us {
    display: flex;
    flex-direction: column;
    align-items: end;
    gap: 10px;
    padding: 52px 50px;
    font-weight: bold;
    color: #848484;
}

.footer-phonenumber,
.footer-instagramID {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
}

.addres {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
    padding: 20px 140px;
    border-left: #fff 2px solid;
    border-right: #fff 2px solid;
    font-weight: bold;
    font-size: 14px;
    color: #848484;
}

.footer-logo {
    display: flex;
    align-items: center;
    color: #848484;
    padding-top: 20px;
}

.footer-logo-img {
    max-width: 97px;
    max-height: 97px;
}

.footer-logo-span {
    font-family: "GULZAR";
    font-weight: bold;
    font-size: 20px;
}


/* =========================================================
   CART SIDEBAR
========================================================= */

.cart-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: fixed;
    top: 0;
    left: -50%;
    width: 32%;
    min-width: 360px;
    height: 100%;
    background-color: #fff;
    transition: left 0.3s ease;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    overflow-y: auto;
}

.cart-sidebar.open {
    left: 0;
}

.overlay {
    display: none;
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.overlay.show {
    display: block;
}

.cart-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    text-align: right;
    font-family: "IranYekans_light";
    font-weight: bold;
    font-size: 20px;
    padding: 20px;
    border-bottom: 1px dashed #000;
    color: #2d2d2d;
    background-color: #eee;
}

.cart-sidebar-header h2 {
    margin: 0;
}

.cart-sidebar-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-sidebar-close {
    display: inline-grid;
    width: 38px;
    height: 38px;
    place-items: center;
    flex: 0 0 38px;
    padding: 0;
    border: 1px solid #2d2d2d;
    border-radius: 50%;
    background: transparent;
    color: #2d2d2d;
    font-family: Arial, sans-serif;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.cart-sidebar-close:hover,
.cart-sidebar-close:focus-visible {
    background: #2d2d2d;
    color: #fff;
    outline: none;
    transform: rotate(90deg);
}

.cart-sidebar-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 0 20px 20px;
}


/* =========================================================
   CART ITEM
========================================================= */

.cart-decreption {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    padding: 20px 0;
    background-color: #fff;
    border-bottom: 1px solid #ccc;
}

.cart-decreption .explane-pro {
    display: flex;
    flex-direction: column;
}

.cart-decreption .product-process {
    display: flex;
    flex-direction: column;
    gap: 11px;
    margin-right: 20px;
    padding-top: 10px;
}

.cart-decreption .span-name {
    font-size: 20px;
    font-family: "IranYekans_light";
}

.cart-decreption .sp-explnaion {
    font-size: 14px;
    font-family: "IranYekans_reguler";
}

.price-productcunter {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 20px;
    padding: 25px 0;
    flex-direction: row-reverse;
}

.quantity-control {
    display: inline-flex;
    align-items: center;
    background-color: #f0f0f0;
    padding: 5px;
    border-radius: 12px;
    gap: 10px;
}

.quantity-control button {
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
}

.btn-minus {
    background-color: #f9f9f9;
    border: 1px solid #ccc !important;
    color: #333;
}

.btn-plus {
    background-color: #000;
    color: #fff;
}

.quantity-number {
    font-family: "IRANYEKANX", sans-serif;
    font-size: 16px;
    min-width: 20px;
    text-align: center;
}


/* =========================================================
   CART INVOICE
========================================================= */

.invoice-parent {
    display: flex;
    flex-direction: column;
    gap: 33px;
    padding: 30px 20px;
    color: #2d2d2d;
    border: 1px solid #ccc;
    border-radius: 20px;
    font-family: "IranYekans_reguler";
}

.SumOFitems,
.Payable {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.SumOFitems-line,
.Payable-line {
    border: none;
    border-top: 1px dashed #2d2d2d;
    flex: 1;
}

.SumOFitems-span {
    display: flex;
    align-items: center;
    gap: 3px;
}

.SumOFitems-span h1 {
    margin: 0;
    font-size: inherit;
}


/* =========================================================
   ORDER BUTTON
========================================================= */

.order {
    font-family: "IranYekans_reguler";
    padding-bottom: 30px;
    text-align: center;
}

.order-button {
    padding: 15px 30px;
    font-family: "IranYekans_reguler";
    font-size: 16px;
    border: 1px solid #2d2d2d;
    border-radius: 10px;
    background-color: #2d2d2d;
    color: #fff;
    cursor: pointer;
}

.order-button:hover {
    background-color: #fff;
    color: #000;
}

.order-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}


/* =========================================================
   RESPONSIVE
========================================================= */


/* =========================================================
   RESPONSIVE - FINAL
========================================================= */

@media (max-width: 1100px) {
    .product_parent {
        flex-direction: column;
        gap: 24px;
    }

    .navigation-bar {
        position: static;
        order: -1;
        width: 100%;
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 10px;
    }

    .item-Description {
        flex: 0 0 auto;
    }

    .style_pro1,
    .style_pro2,
    .style_pro3 {
        gap: 18px;
    }

    .benefits_product {
        flex: 1 1 calc(50% - 9px);
        width: auto;
        min-width: 0;
    }

    .header-main-parent {
        gap: 24px;
    }

    .search-input {
        width: min(450px, 100%);
    }

    .addres {
        padding-right: 50px;
        padding-left: 50px;
    }

    .cart-sidebar {
        width: min(420px, 58vw);
        min-width: 0;
    }
}

@media (max-width: 768px) {
    .container {
        padding-right: 14px;
        padding-left: 14px;
    }

    .header-main-parent {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px 14px;
        padding: 10px 0;
    }

    .header-main-parent .Phonenumber,
    .header-main-parent .clock-time,
    .header-main-parent .wi-fi {
        justify-content: center;
        gap: 6px;
        min-width: 0;
    }

    .header-main-parent .wi-fi {
        grid-column: 1 / -1;
    }

    .header-main-parent h1 {
        overflow: hidden;
        font-size: 12px;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    .header-main-parent img {
        width: 20px;
        height: 20px;
        flex: 0 0 auto;
    }

    .serach-box-parent {
        gap: 14px;
    }

    .cafe-logo {
        padding: 18px 0 4px;
    }

    .cafe-logo-img {
        width: 170px;
        height: 170px;
        object-fit: contain;
    }

    .logo-title-h1 {
        font-size: clamp(28px, 6vw, 36px);
        text-align: center;
    }

    .input-shoppingbag-parent {
        width: 100%;
        flex-direction: column;
        gap: 12px;
    }

    .shoppingbag,
    .serch {
        width: 100%;
    }

    .shoppingbag {
        min-width: 120px;
        justify-content: center;
    }

    .search-input {
        width: 100%;
        padding: 15px 16px;
    }

    .benefits_product {
        flex-basis: 100%;
    }

    .picture_edit {
        width: 128px;
        height: 128px;
        flex: 0 0 128px;
        margin-right: 14px;
    }

    .product_process {
        padding-right: 18px;
    }

    .price_shoping_bag {
        gap: 8px;
        padding-right: 14px;
    }

    .footer-parent {
        flex-direction: column;
        gap: 18px;
        padding: 16px 20px 22px;
    }

    .footer-logo {
        padding-top: 0;
        justify-content: center;
        text-align: center;
    }

    .addres {
        width: 100%;
        padding: 18px 8px;
        border-right: 0;
        border-left: 0;
    }

    .contact-us {
        align-items: center;
        padding: 0;
    }

    .cart-sidebar {
        left: -100%;
        width: min(420px, 92vw);
    }

    .cart-sidebar.open {
        left: 0;
    }

    .cart-sidebar-header {
        padding: 18px 18px 24px 0;
        font-size: 18px;
    }

    .cart-sidebar-container {
        gap: 12px;
        padding: 0 14px 14px;
    }

    .cart-decreption {
        gap: 10px;
        padding: 14px 0;
    }

    .cart-decreption .product-process {
        margin-right: 0;
        padding-top: 4px;
    }

    .price-productcunter {
        flex-wrap: wrap;
        gap: 10px;
        padding: 14px 0;
    }

    .invoice-parent {
        gap: 20px;
        padding: 20px 14px;
    }
}

@media (max-width: 520px) {
    .container {
        padding-right: 10px;
        padding-left: 10px;
    }

    .header-main-parent {
        gap: 6px 8px;
    }

    .header-main-parent .Phonenumber,
    .header-main-parent .clock-time {
        gap: 4px;
    }

    .header-main-parent h1 {
        font-size: 11px;
    }

    .cafe-logo-img {
        width: 140px;
        height: 140px;
    }

    .logo-title-h1 {
        font-size: 28px;
    }

    .shoppingbag {
        padding: 12px 10px;
    }

    .shoppingbag-first-p {
        font-size: 14px;
    }

    .shoppingbag-second-p {
        font-size: 12px;
    }

    .benefits_product {
        min-height: 0;
    }

    .picture_edit {
        width: 96px;
        height: 96px;
        flex-basis: 96px;
        margin: 12px 8px 12px 0;
    }

    .product_process {
        gap: 4px;
        padding-top: 14px;
        padding-right: 10px;
    }

    .span_name_Cake {
        font-size: 18px;
    }

    .sp_explnaion_Cake {
        font-size: 12px;
    }

    .price_shoping_bag {
        flex-wrap: wrap;
        justify-content: space-between;
        padding: 16px 8px 12px 0;
    }

    .spans_price_shoping_bag {
        font-size: 16px;
    }

    .sp_shoping-bag {
        padding: 6px;
        font-size: 12px;
    }

    .cart-sidebar {
        width: 100vw;
    }

    .cart-decreption {
        gap: 8px;
    }

    .cart-decreption .picture_edit {
        width: 80px;
        height: 80px;
        flex-basis: 80px;
        margin: 10px 0;
    }

    .cart-decreption .span-name {
        font-size: 17px;
    }

    .cart-decreption .sp-explnaion {
        font-size: 12px;
    }

    .quantity-control {
        gap: 6px;
        padding: 4px;
    }

    .quantity-control button {
        width: 28px;
        height: 28px;
    }

    .order-button {
        width: 100%;
        padding: 13px 20px;
    }

    .footer-logo {
        flex-direction: column;
        gap: 4px;
    }

    .footer-phonenumber,
    .footer-instagramID {
        font-size: 14px;
    }
}






 

/* =========================================================
   MOBILE HEADER AND SEARCH FIX
========================================================= */

@media (max-width: 768px) {
    .header-main-parent {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: nowrap;
        gap: 4px;
        padding: 9px 0;
    }

    .header-main-parent .Phonenumber,
    .header-main-parent .clock-time,
    .header-main-parent .wi-fi {
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 1 1 0;
        min-width: 0;
        gap: 4px;
        white-space: nowrap;
    }

    .header-main-parent h1 {
        min-width: 0;
        margin: 0;
        overflow: hidden;
        font-size: 10px;
        line-height: 1.2;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    .header-main-parent img {
        width: 18px;
        height: 18px;
        flex: 0 0 auto;
    }

    .input-shoppingbag-parent {
        display: flex;
        align-items: center;
        flex-direction: row;
        gap: 10px;
        width: 100%;
    }

    .serch {
        flex: 1 1 auto;
        width: auto;
        min-width: 0;
    }

    .search-input {
        width: 100%;
        min-width: 0;
        padding: 13px 14px;
        font-size: 14px;
    }

    .shoppingbag {
        flex: 0 0 auto;
        width: 150px;
        min-width: 150px;
        padding: 9px 10px;
        gap: 6px;
        border-radius: 50px;
    }

    .shoppingbag-active-sircle-img img {
        width: 34px;
        height: 34px;
    }

    .shoppingbag-active-sircle-img-counter {
        top: -10px;
        left: 14px;
        font-size: 15px;
    }

    .shoppingbag-first-p {
        font-size: 13px;
        white-space: nowrap;
    }

    .shoppingbag-second-p {
        overflow: hidden;
        font-size: 10px;
        white-space: nowrap;
        text-overflow: ellipsis;
    }
}

@media (max-width: 520px) {
    .header-main-parent {
        gap: 2px;
    }

    .header-main-parent .Phonenumber,
    .header-main-parent .clock-time,
    .header-main-parent .wi-fi {
        gap: 2px;
    }

    .header-main-parent h1 {
        font-size: 9px;
    }

    .header-main-parent img {
        width: 16px;
        height: 16px;
    }

    .input-shoppingbag-parent {
        gap: 7px;
    }

    .search-input {
        padding: 12px 10px;
        font-size: 13px;
    }

    .shoppingbag {
        width: 128px;
        min-width: 128px;
        padding: 8px 10px;
        gap: 4px;
    }

    .shoppingbag-active-sircle-img img {
        width: 30px;
        height: 30px;
    }

    .shoppingbag-active-sircle-img-counter {
        top: -8px;
        left: 9px;
        font-size: 14px;
    }

    .shoppingbag-first-p {
        font-size: 11px;
    }

    .shoppingbag-second-p {
        font-size: 9px;
    }
}


/* =========================================================
   ORDER TYPE MODAL
========================================================= */

.order-type-modal {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition:
        opacity 0.25s ease,
        visibility 0.25s ease;
}

.order-type-modal.open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.order-type-modal-card {
    position: relative;
    width: min(430px, 100%);
    padding: 34px 28px 28px;
    text-align: center;
    direction: rtl;
    background: #ffffff;
    border: 1px solid #dedede;
    border-radius: 24px;
    box-shadow:
        0 22px 60px rgba(0, 0, 0, 0.28),
        0 4px 12px rgba(0, 0, 0, 0.12);
    transform: translateY(18px) scale(0.96);
    transition: transform 0.25s ease;
}

.order-type-modal.open .order-type-modal-card {
    transform: translateY(0) scale(1);
}

.customer-name-modal {
    position: fixed;
    inset: 0;
    z-index: 1110;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.customer-name-modal.open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.customer-name-modal-card {
    position: relative;
    width: min(430px, 100%);
    padding: 34px 28px 28px;
    text-align: right;
    direction: rtl;
    background: #ffffff;
    border: 1px solid #dedede;
    border-radius: 24px;
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.28), 0 4px 12px rgba(0, 0, 0, 0.12);
    transform: translateY(18px) scale(0.96);
    transition: transform 0.25s ease;
}

.customer-name-modal.open .customer-name-modal-card {
    transform: translateY(0) scale(1);
}

.customer-name-modal-card h2 {
    margin: 18px 0 8px;
    color: #2d2d2d;
    font-family: "IranYekans_bold";
    font-size: 24px;
}

.customer-name-modal-card .order-type-modal-description {
    margin-bottom: 20px;
}

.customer-name-modal-close {
    position: absolute;
    top: 12px;
    left: 14px;
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: #f2f2f2;
    color: #2d2d2d;
    font-size: 18px;
}

.customer-name-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.customer-name-form label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: #555555;
    font-family: "IranYekans_reguler";
    font-size: 13px;
}

.customer-name-form input {
    width: 100%;
    min-height: 48px;
    padding: 10px 13px;
    border: 1px solid #d7d7d7;
    border-radius: 12px;
    outline: none;
    color: #2d2d2d;
    font-family: "IranYekans_reguler";
}

.customer-name-form input:focus {
    border-color: #2d2d2d;
    box-shadow: 0 0 0 3px rgba(45, 45, 45, 0.08);
}

.customer-name-submit {
    width: 100%;
    min-height: 46px;
    border: 1px solid #2d2d2d;
    border-radius: 10px;
    background: #2d2d2d;
    color: #ffffff;
    font-family: "IranYekans_reguler";
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.customer-name-submit:hover,
.customer-name-submit:focus-visible {
    background: #ffffff;
    color: #2d2d2d;
    outline: none;
    transform: translateY(-2px);
}

.customer-name-modal-message {
    min-height: 22px;
    margin: 14px 0 0;
    color: #777777;
    font-family: "IranYekans_reguler";
    font-size: 12px;
    text-align: center;
}

.order-type-modal-close {
    position: absolute;
    top: 12px;
    left: 14px;
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid #d4d4d4;
    border-radius: 50%;
    background: #ffffff;
    color: #2d2d2d;
    font-size: 25px;
    line-height: 1;
    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.order-type-modal-close:hover {
    background: #2d2d2d;
    color: #ffffff;
    transform: rotate(90deg);
}

.order-type-modal-icon {
    display: grid;
    width: 62px;
    height: 62px;
    margin: 0 auto 16px;
    place-items: center;
    border-radius: 50%;
    background: #2d2d2d;
    color: #ffffff;
    font-family: "IRANYEKANX", sans-serif;
    font-size: 12px;
    letter-spacing: 1px;
}

.order-type-modal-card h2 {
    margin: 0;
    color: #2d2d2d;
    font-family: "IranYekans_reguler";
    font-size: 24px;
    font-weight: 700;
}

.order-type-modal-description {
    margin: 8px 0 24px;
    color: #777777;
    font-family: "IranYekans_light";
    font-size: 14px;
}

.order-type-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.order-type-option {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 15px 12px;
    text-align: right;
    direction: rtl;
    border: 1px solid #d5d5d5;
    border-radius: 16px;
    background: #ffffff;
    color: #2d2d2d;
    font-family: "IranYekans_reguler";
    transition:
        border-color 0.2s ease,
        background-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.order-type-option:hover,
.order-type-option:focus-visible {
    border-color: #2d2d2d;
    background: #2d2d2d;
    color: #ffffff;
    outline: none;
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
}

.order-type-option-symbol {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    place-items: center;
    border: 1px solid currentColor;
    border-radius: 50%;
    font-family: "IRANYEKANX", sans-serif;
    font-size: 22px;
    line-height: 1;
}

.order-type-option-content {
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 3px;
}

.order-type-option-content strong {
    font-size: 16px;
}

.order-type-option-content small {
    overflow: hidden;
    color: #777777;
    font-family: "IranYekans_light";
    font-size: 11px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.order-type-option:hover .order-type-option-content small,
.order-type-option:focus-visible .order-type-option-content small {
    color: #e5e5e5;
}

.order-type-modal-message {
    min-height: 22px;
    margin: 18px 0 0;
    color: #2d2d2d;
    font-family: "IranYekans_reguler";
    font-size: 13px;
}

@media (max-width: 480px) {
    .order-type-modal {
        padding: 14px;
    }

    .order-type-modal-card {
        padding: 30px 16px 20px;
        border-radius: 20px;
    }

    .order-type-modal-card h2 {
        font-size: 20px;
    }

    .order-type-modal-description {
        margin-bottom: 18px;
        font-size: 12px;
    }

    .order-type-options {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   COFFEE SHOP
========================================================= */

.coffee-shop-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    gap: 8px;
    width: 155px;
    min-height: 52px;
    padding: 10px 14px;
    border: 1px solid #2d2d2d;
    border-radius: 100px;
    background: #2d2d2d;
    color: #ffffff;
    font-family: "IranYekans_reguler";
    font-size: 18px;
    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.coffee-shop-button:hover,
.coffee-shop-button:focus-visible {
    background: #2d2d2d;
    color: #ffffff;
    outline: none;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
}

.coffee-shop-button-icon {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border: 1px solid currentColor;
    border-radius: 50%;
    font-size: 16px;
    line-height: 1;
}

.coffee-shop-section {
    margin-top: 90px;
    padding: 70px 0 80px;
    background: #f6f6f6;
    border-top: 1px solid #e5e5e5;
}

.coffee-shop-heading {
    max-width: 680px;
    margin: 0 auto 38px;
    text-align: center;
    font-family: "IranYekans_reguler";
}

.coffee-shop-eyebrow {
    color: #777777;
    font-family: "IranYekans_light";
    font-size: 14px;
}

.coffee-shop-heading h2 {
    margin: 8px 0;
    color: #2d2d2d;
    font-family: "GULZAR";
    font-size: 40px;
}

.coffee-shop-heading p {
    margin: 0;
    color: #777777;
    font-family: "IranYekans_light";
    font-size: 15px;
}

.coffee-shop-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(250px, 0.8fr) minmax(280px, 0.9fr);
    align-items: start;
    gap: 18px;
}

.coffee-products {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.coffee-product-card {
    display: flex;
    flex-direction: column;
    min-height: 330px;
    padding: 18px;
    border: 1px solid #d7d7d7;
    border-radius: 20px;
    background: #ffffff;
    color: #2d2d2d;
    font-family: "IranYekans_reguler";
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.coffee-product-card:hover,
.coffee-product-card.is-selected {
    border-color: #2d2d2d;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    transform: translateY(-3px);
}

.coffee-card-topline,
.coffee-product-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.coffee-card-number {
    color: #999999;
    direction: ltr;
    font-family: "IRANYEKANX", sans-serif;
    font-size: 12px;
}

.coffee-card-badge {
    padding: 4px 8px;
    border-radius: 100px;
    background: #eeeeee;
    color: #666666;
    font-family: "IranYekans_light";
    font-size: 10px;
}

.coffee-product-icon {
    display: grid;
    width: 58px;
    height: 58px;
    margin: 22px auto 12px;
    place-items: center;
    border-radius: 50%;
    background: #2d2d2d;
    color: #ffffff;
    font-size: 28px;
    line-height: 1;
}

.coffee-product-icon img {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.coffee-product-card h3 {
    margin: 0;
    text-align: center;
    font-size: 20px;
}

.coffee-product-card p {
    min-height: 52px;
    margin: 10px 0 18px;
    color: #777777;
    text-align: center;
    font-family: "IranYekans_light";
    font-size: 13px;
    line-height: 1.8;
}

.coffee-product-meta {
    align-items: flex-end;
    margin-top: auto;
    color: #777777;
    font-family: "IranYekans_light";
    font-size: 11px;
}

.coffee-product-meta strong {
    color: #2d2d2d;
    font-family: "IranYekans_bold";
    font-size: 12px;
    white-space: nowrap;
}

.coffee-product-select,
.coffee-add-button,
.coffee-copy-card,
.coffee-order-button {
    border: 1px solid #2d2d2d;
    border-radius: 10px;
    background: #2d2d2d;
    color: #ffffff;
    font-family: "IranYekans_reguler";
    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.coffee-product-select {
    width: 100%;
    margin-top: 16px;
    padding: 10px 8px;
    font-size: 12px;
}

.coffee-product-select:hover,
.coffee-product-select:focus-visible,
.coffee-add-button:hover,
.coffee-add-button:focus-visible,
.coffee-copy-card:hover,
.coffee-copy-card:focus-visible,
.coffee-order-button:hover,
.coffee-order-button:focus-visible {
    background: #ffffff;
    color: #2d2d2d;
    outline: none;
    transform: translateY(-2px);
}

.coffee-builder,
.coffee-cart {
    padding: 22px 18px;
    border: 1px solid #d7d7d7;
    border-radius: 20px;
    background: #ffffff;
    font-family: "IranYekans_reguler";
}

.coffee-builder-heading span,
.coffee-cart-heading span {
    color: #888888;
    font-family: "IranYekans_light";
    font-size: 12px;
}

.coffee-builder-heading h3,
.coffee-cart-heading h3 {
    margin: 4px 0 20px;
    color: #2d2d2d;
    font-size: 21px;
}

.coffee-selected-method {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 22px;
    padding-bottom: 14px;
    border-bottom: 1px dashed #cfcfcf;
    color: #777777;
    font-family: "IranYekans_light";
    font-size: 12px;
}

.coffee-selected-method strong {
    color: #2d2d2d;
    font-family: "IranYekans_reguler";
    font-size: 14px;
}

.coffee-roast-label {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-top: 16px;
    color: #555555;
    font-family: "IranYekans_light";
    font-size: 13px;
}

.coffee-roast-select {
    width: 100%;
    padding: 11px 12px;
    border: 1px solid #cfcfcf;
    border-radius: 10px;
    outline: none;
    background: #ffffff;
    color: #2d2d2d;
    font-family: "IranYekans_reguler";
    font-size: 13px;
}

.coffee-roast-select:focus {
    border-color: #2d2d2d;
}

.coffee-roast-description {
    min-height: 34px;
    color: #888888;
    font-family: "IranYekans_light";
    font-size: 11px;
    line-height: 1.8;
}

.coffee-range-label,
.coffee-package-label {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;
    color: #555555;
    font-family: "IranYekans_light";
    font-size: 13px;
}

.coffee-range-label > span {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.coffee-range-label output {
    color: #2d2d2d;
    font-family: "IranYekans_bold";
}

.coffee-arabica-range {
    width: 100%;
    accent-color: #2d2d2d;
    cursor: pointer;
}

.coffee-blend-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 8px;
    color: #777777;
    font-family: "IranYekans_light";
    font-size: 11px;
}

.coffee-price-preview {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 18px;
    padding: 12px;
    border-radius: 12px;
    background: #f1f1ef;
    color: #777;
    font-family: "IranYekans_light";
    font-size: 12px;
}

.coffee-selected-price {
    color: #2d2d2d;
    font-family: "IranYekans_bold";
    font-size: 15px;
}

.coffee-package-label select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #cfcfcf;
    border-radius: 10px;
    outline: none;
    background: #ffffff;
    color: #2d2d2d;
    font-family: "IranYekans_reguler";
    font-size: 13px;
}

.coffee-package-label select:focus {
    border-color: #2d2d2d;
}

.coffee-add-button {
    width: 100%;
    margin-top: 24px;
    padding: 13px 10px;
    font-size: 14px;
}

.coffee-cart-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.coffee-cart-heading h3 {
    margin-bottom: 0;
}

.coffee-cart-count {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border-radius: 50%;
    background: #2d2d2d;
    color: #ffffff !important;
    font-family: "IRANYEKANX", sans-serif !important;
    font-size: 14px !important;
}

.coffee-cart-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.coffee-cart-empty {
    padding: 28px 10px;
    color: #999999;
    text-align: center;
    font-family: "IranYekans_light";
    font-size: 12px;
}

.coffee-cart-empty.is-hidden,
.coffee-payment-box.is-hidden {
    display: none;
}

.coffee-cart-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    padding: 12px 0;
    border-bottom: 1px dashed #d4d4d4;
}

.coffee-cart-item-content {
    min-width: 0;
}

.coffee-cart-item-title,
.coffee-cart-item-detail,
.coffee-cart-item-price {
    display: block;
}

.coffee-cart-item-title {
    overflow: hidden;
    color: #2d2d2d;
    font-size: 14px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.coffee-cart-item-detail {
    margin-top: 4px;
    color: #888888;
    font-family: "IranYekans_light";
    font-size: 11px;
}

.coffee-cart-item-price {
    margin-top: 6px;
    color: #2d2d2d;
    font-family: "IranYekans_bold";
    font-size: 12px;
}

.coffee-cart-remove {
    align-self: start;
    padding: 3px 7px;
    border: 1px solid #d0d0d0;
    border-radius: 7px;
    background: #ffffff;
    color: #777777;
    font-size: 12px;
}

.coffee-cart-remove:hover {
    border-color: #2d2d2d;
    background: #2d2d2d;
    color: #ffffff;
}

.coffee-cart-total-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #d4d4d4;
    color: #777777;
    font-family: "IranYekans_light";
    font-size: 13px;
}

.coffee-cart-total {
    color: #2d2d2d;
    font-family: "IranYekans_bold";
    font-size: 16px;
}

.coffee-payment-box {
    margin-top: 20px;
    padding: 14px;
    border-radius: 14px;
    background: #2d2d2d;
    color: #ffffff;
    text-align: center;
}

.coffee-payment-box > span {
    font-size: 14px;
}

.coffee-payment-box p {
    margin: 8px 0 12px;
    color: #dddddd;
    font-family: "IranYekans_light";
    font-size: 11px;
    line-height: 1.8;
}

.coffee-bank-card-number {
    display: block;
    direction: ltr;
    font-family: "IRANYEKANX", sans-serif;
    font-size: 15px;
    letter-spacing: 1px;
}

.coffee-copy-card {
    margin-top: 12px;
    padding: 7px 12px;
    border-color: #ffffff;
    background: transparent;
    font-size: 11px;
}

.last-order-summary {
    display: grid;
    gap: 9px;
    padding: 14px;
    border: 1px solid #d0a86d;
    border-radius: 14px;
    background: #2d2d2d;
    color: #ffffff;
}

.last-order-summary-heading,
.last-order-summary-meta,
.last-order-summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.last-order-summary-heading {
    color: #d0a86d;
}

.last-order-summary-actions {
    display: flex;
    justify-content: flex-start;
    gap: 7px;
}

.last-order-summary-actions button {
    padding: 6px 9px;
    border: 1px solid rgb(208 168 109 / 70%);
    border-radius: 7px;
    background: transparent;
    color: #d0a86d;
    cursor: pointer;
    font: inherit;
    font-size: 10px;
}

.last-order-summary-actions button:hover,
.last-order-summary-actions button:focus-visible {
    background: #d0a86d;
    color: #2d2d2d;
    outline: none;
}

.last-order-summary-actions button:disabled {
    cursor: wait;
    opacity: 0.65;
}

.order-status-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    padding: 8px 0 4px;
}

.order-status-step {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 5px;
    color: #858585;
    text-align: center;
}

.order-status-step::before {
    position: absolute;
    top: 5px;
    right: 50%;
    left: -50%;
    height: 2px;
    background: #555;
    content: "";
}

.order-status-step:first-child::before {
    display: none;
}

.order-status-step i {
    position: relative;
    z-index: 1;
    width: 11px;
    height: 11px;
    border: 2px solid #777;
    border-radius: 50%;
    background: #2d2d2d;
}

.order-status-step em {
    font-size: 9px;
    font-style: normal;
    line-height: 1.5;
}

.order-status-step.is-complete {
    color: #d0a86d;
}

.order-status-step.is-complete i {
    border-color: #d0a86d;
    background: #d0a86d;
}

.order-status-step.is-complete::before {
    background: #d0a86d;
}

.order-status-step.is-current em {
    color: #fff;
    font-weight: bold;
}

.order-status-cancelled {
    grid-column: 1 / -1;
    color: #ff9b9b;
    font-size: 11px;
    text-align: center;
}

.last-order-summary-heading small {
    color: #d8d8d8;
    font-size: 10px;
}

.last-order-summary-meta {
    padding-bottom: 7px;
    border-bottom: 1px solid rgb(255 255 255 / 12%);
    font-size: 12px;
}

.last-order-summary-meta span {
    color: #d0d0d0;
}

.last-order-summary-items {
    display: grid;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 12px;
}

.last-order-summary-items li {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    padding: 7px 8px;
    border-radius: 8px;
    background: rgb(255 255 255 / 8%);
}

.last-order-summary-total {
    padding-top: 7px;
    color: #d0a86d;
    font-weight: bold;
}

.track-order-toggle {
    border: 1px solid #d0a86d;
    border-radius: 8px;
    padding: 7px 10px;
    background: transparent;
    color: #d0a86d;
    cursor: pointer;
    font: inherit;
    font-size: 11px;
    transition: background 0.2s ease, color 0.2s ease;
}

.track-order-toggle:hover,
.track-order-toggle:focus-visible {
    background: #d0a86d;
    color: #2d2d2d;
}

.order-tracking-panel {
    display: none;
    gap: 9px;
    margin: 12px 0;
    padding: 14px;
    border: 1px solid #d0a86d;
    border-radius: 14px;
    background: #2d2d2d;
    color: #fff;
}

.order-tracking-panel.open {
    display: grid;
}

.order-tracking-panel h3,
.order-tracking-panel p {
    margin: 0;
}

.order-tracking-panel h3 {
    color: #d0a86d;
}

.order-tracking-panel p {
    color: #d8d8d8;
    font-size: 11px;
    line-height: 1.8;
}

.order-tracking-form {
    display: grid;
    gap: 8px;
}

.order-tracking-form input,
.order-tracking-form button {
    min-height: 38px;
    border-radius: 9px;
    font: inherit;
}

.order-tracking-form input {
    border: 1px solid #d7d7d7;
    padding: 0 10px;
    direction: ltr;
    text-align: left;
}

.order-tracking-form button {
    border: 1px solid #d0a86d;
    background: #d0a86d;
    color: #2d2d2d;
    cursor: pointer;
    font-weight: bold;
}

.order-tracking-message {
    min-height: 20px;
}

.order-confirmation-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: grid;
    place-items: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.order-confirmation-modal.open {
    opacity: 1;
    pointer-events: auto;
}

.order-confirmation-card {
    position: relative;
    width: min(100%, 440px);
    max-height: min(90vh, 680px);
    overflow: auto;
    padding: 30px 24px;
    border: 1px solid #d0a86d;
    border-radius: 22px;
    background: #242424;
    color: #fff;
    box-shadow: 0 24px 70px rgb(0 0 0 / 40%);
    text-align: right;
    transform: translateY(16px) scale(0.98);
    transition: transform 0.25s ease;
}

.order-confirmation-modal.open .order-confirmation-card {
    transform: translateY(0) scale(1);
}

.order-confirmation-card h2 {
    margin: 18px 0 8px;
    color: #d0a86d;
    font-family: "IranYekans_bold";
}

.order-confirmation-subtitle {
    margin: 0 0 18px;
    color: #d8d8d8;
    font-family: "IranYekans_light";
}

.order-confirmation-close {
    position: absolute;
    top: 12px;
    left: 14px;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
}

.order-confirmation-details {
    display: grid;
    gap: 10px;
}

.order-confirmation-meta,
.order-confirmation-total {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgb(255 255 255 / 12%);
}

.order-confirmation-meta span {
    color: #cfcfcf;
}

.order-confirmation-items {
    display: grid;
    gap: 8px;
    margin: 8px 0;
    padding: 0;
    list-style: none;
}

.order-confirmation-items li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 10px;
    border-radius: 10px;
    background: rgb(255 255 255 / 7%);
}

.order-confirmation-total {
    border-bottom: 0;
    color: #d0a86d;
    font-size: 17px;
}

.coffee-order-button {
    width: 100%;
    margin-top: 10px;
    padding: 10px 12px;
    border-color: #c9a36a;
    background: #c9a36a;
    color: #1d1d1d;
    font-size: 12px;
}

.coffee-order-button:hover,
.coffee-order-button:focus-visible {
    border-color: #ffffff;
}

.coffee-copy-card:hover,
.coffee-copy-card:focus-visible {
    border-color: #ffffff;
}

@media (max-width: 1100px) {
    .coffee-shop-layout {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .coffee-products {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .input-shoppingbag-parent {
        flex-wrap: wrap;
    }

    .input-shoppingbag-parent .shoppingbag,
    .input-shoppingbag-parent .coffee-shop-button {
        flex: 1 1 calc(50% - 5px);
        width: auto;
        min-width: 0;
    }

    .input-shoppingbag-parent .serch {
        order: 3;
        flex: 0 0 100%;
        width: 100%;
    }

    .coffee-shop-section {
        margin-top: 60px;
        padding: 50px 0 60px;
    }

    .coffee-shop-heading {
        margin-bottom: 26px;
    }

    .coffee-shop-heading h2 {
        font-size: 32px;
    }

    .coffee-shop-heading p {
        font-size: 13px;
    }

    .coffee-shop-layout {
        grid-template-columns: 1fr;
    }

    .coffee-products {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        grid-column: auto;
    }
}

@media (max-width: 560px) {
    .coffee-products {
        grid-template-columns: 1fr;
    }

    .coffee-product-card {
        min-height: 0;
    }

    .coffee-product-card p {
        min-height: 0;
    }

    .coffee-shop-heading h2 {
        font-size: 28px;
    }
}


/* =========================================================
   RESPONSIVE FOOTER LOGO
========================================================= */

@media (max-width: 768px) {
    .footer-logo {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: 100%;
        padding-top: 0;
        text-align: center;
    }

    .footer-logo-img {
        width: 92px;
        height: 92px;
        object-fit: contain;
    }

    .footer-logo-span {
        display: block;
        text-align: center;
        font-size: 18px;
        line-height: 1.7;
    }
}


/* =========================================================
   SHOPPING BAG AND COFFEE BUTTON
========================================================= */

.shoppingbag,
.coffee-shop-button {
    width: 230px;
    min-width: 230px;
    height: 84px;
    min-height: 84px;
    border-radius: 100px;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease,
        color 0.2s ease;
}

.coffee-shop-button {
    gap: 0;
    padding: 14px 18px;
}

.shoppingbag:hover,
.shoppingbag:focus-visible,
.coffee-shop-button:hover,
.coffee-shop-button:focus-visible {
    outline: none;
    transform: translateY(-3px);
    box-shadow:
        0 8px 12px rgba(0, 0, 0, 0.18),
        0 10px 24px rgba(0, 0, 0, 0.14);
}

.coffee-shop-button-icon {
    display: none;
}

@media (max-width: 768px) {
    .input-shoppingbag-parent .shoppingbag,
    .input-shoppingbag-parent .coffee-shop-button {
        flex: 1 1 0;
        width: auto;
        min-width: 0;
        height: 76px;
        min-height: 76px;
    }
}

/* =========================================================
   COFFEE BEAN PICKER
========================================================= */

.coffee-shop-layout {
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
    align-items: start;
}

.coffee-bean-picker {
    display: grid;
    gap: 18px;
    min-width: 0;
}

.coffee-picker-step {
    padding: 20px;
    border: 1px solid rgba(79, 58, 43, 0.14);
    border-radius: 22px;
    background: rgba(255, 252, 247, 0.78);
    box-shadow: 0 12px 30px rgba(64, 45, 32, 0.08);
    transition: opacity 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.coffee-picker-step:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(64, 45, 32, 0.12);
}

.coffee-picker-step.is-disabled {
    opacity: 0.58;
}

.coffee-picker-step > span {
    display: block;
    margin-bottom: 6px;
    color: #9a6b43;
    font-size: 0.82rem;
    font-weight: 700;
}

.coffee-picker-step h3 {
    margin: 0 0 12px;
}

.coffee-percentage-select,
.coffee-flavor-select,
.coffee-package-size {
    width: 100%;
    min-height: 48px;
    padding: 10px 14px;
    border: 1px solid rgba(79, 58, 43, 0.2);
    border-radius: 13px;
    background: #fffdfa;
    color: #3f3027;
    font: inherit;
}

.coffee-selection-summary {
    min-height: 174px;
}

.coffee-selection-placeholder {
    display: flex;
    min-height: 174px;
    align-items: center;
    justify-content: center;
    padding: 24px;
    border: 1px dashed rgba(79, 58, 43, 0.25);
    border-radius: 22px;
    color: #806f64;
    text-align: center;
}

.coffee-bean-card {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 20px;
    min-height: 174px;
    padding: 18px;
    border: 1px solid rgba(79, 58, 43, 0.16);
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(255, 252, 247, 0.96), rgba(238, 231, 221, 0.82));
    box-shadow: 0 14px 32px rgba(64, 45, 32, 0.1);
    animation: coffeeBeanCardIn 0.35s ease both;
}

.coffee-bean-card img {
    width: 150px;
    height: 150px;
    border-radius: 18px;
    object-fit: cover;
    background: #e8ded2;
}

.coffee-bean-card-title {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: baseline;
    margin-bottom: 8px;
}

.coffee-bean-card-title span {
    color: #977159;
    font-size: 0.9rem;
}

.coffee-bean-card-title strong {
    color: #3d2b20;
    font-size: 1.25rem;
}

.coffee-bean-card p {
    margin: 0 0 12px;
    color: #67584f;
    line-height: 1.8;
}

.coffee-bean-details {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.coffee-bean-details span {
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    color: #5d493c;
    font-size: 0.82rem;
}

.coffee-package-label {
    display: grid;
    gap: 8px;
    color: #4c3a2f;
    font-weight: 700;
}

.coffee-add-button:disabled {
    cursor: not-allowed;
    opacity: 0.5;
    transform: none;
}

@keyframes coffeeBeanCardIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .coffee-shop-layout {
        grid-template-columns: 1fr;
    }

    .coffee-bean-card {
        grid-template-columns: 92px minmax(0, 1fr);
        gap: 14px;
        padding: 14px;
    }

    .coffee-bean-card img {
        width: 92px;
        height: 92px;
    }

    .coffee-bean-card-title strong {
        font-size: 1.05rem;
    }
}
